#pragma once

#include "BibliothequeBRepP.h"
#include "BibliothequeLGB.h"

// CBDCreationDodecaedreEpineux dialog

class CBDCreationDodecaedreEpineux : public CDialog
{
	DECLARE_DYNAMIC(CBDCreationDodecaedreEpineux)

public:
	CBDCreationDodecaedreEpineux(CWnd* pParent = NULL);   // standard constructor
	virtual ~CBDCreationDodecaedreEpineux();
	BOOL OnInitDialog();

// Dialog Data
	enum { IDD = IDD_BD_CREATION_DODECAEDRE_EPINEUX };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

private :
	SolidesP	LeDodecaedreEpineux ;
	bool		Debut ;
	double mXCentre;
	double mYCentre;
	double mZCentre;
	double mRayon;
	double mTaux;
	double mAngle;

	void EffacerRecreerAfficherDodecaedreEpineux () ;
	afx_msg void OnEnChangeEditXcentre();
	afx_msg void OnEnChangeEditYcentre();
	afx_msg void OnEnChangeEditZcentre();
	afx_msg void OnEnChangeEditRayon();
	afx_msg void OnEnChangeEditAngle();
	afx_msg void OnEnChangeEditTaux();
private:
	// Attribut du solide
	AttributsSolides	mAS;
private:
	// Attribut pour des faces du solide
	AttributsFaces		mAF;
	afx_msg void OnBnClickedBoutonCouleur();
};
